package com.example.web.exm;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import javax.servlet.ServletException;
import  javax.servlet.http.HttpServlet;
import  javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

@Controller
public class IndexController {


    @GetMapping({"/index", "/"})
    public String index(){


        return "index";
    }

    @GetMapping("/welcome")
    public String welcome(){
        return "welcome";
    }
}
